It sounds as though your "mistakes" led you to a pretty good place! If you love your school and are doing well, you will most likely do fine in the Match when the time comes. Use the resources available to you at your school (counseling, mentorship, interest groups, research opportunities) to help guide your future. Good luck!