Not a lot of differences.
If you want a tilt swivel LCD get the D5000
If you are heavy into video get the D3100
Here are the differences:
Would you recommend the newer D3100 or older D5000? Both kits are available at very similar price points. - Thanks