It's usually better to pick what fish you want THEN get the proper tank size to support them. As for fish that do well in 10g tanks, they are mostly schoolers that need atleast 5 fish. If you only get 5 fish then you should be fairly understocked and have a nice tank, so don't worry about any extras.
Some nice schooling fish!
Tetras (Neon, Cardinal, Lemon)
White Cloud Minnows
Cherry Barbs
Zebra Danios (I'm getting 5 today for my own 10g tank!)
Also you can go with shrimp or frogs, just be very careful if you pick frogs as they are mislabeled on occasion. One type stays small and is appropriate for a 10g tank and the other needs a 20g for itself and get's pretty huge. I'll include some links if you want to look into these things.