you seriously did not just crowbar the hood open, jesus. well at least that was a nice car, I'm sure this is only a sign of things to come.
important thing to consider, you may have caused some serious damage to the hood latch as prying should not allow it to open. you need to make damn sure that the latch is not damaged or the hood could fly up causing thousands of dollars in damage (not to mention causing a wreck and possibly killing you or someone else on the road.)
call me crazy, but have you tried to call the guy that you brought the car from to ask him what the door code is so A: you can get into the car, B: this never happens again, and C: you can program in your onw code code so that you dont forget it.
and go immediately to the dealer and have two more keys made. you always want to have three keys on hand, that way if you even lose one, you can always program a new one with the two remaining keys you have as with only one key you will need to have a dealer (or some locksmiths) program it for you...