Audacity, my friend. Its free and really easy to work.
Download from here
http://audacity.sourceforge.net/download/windows
Click record and it'll record whatevers playing on your computer, when finished you can either edit it, or go straight to export. Where you can chose to export it as a .wav or .mp3
Happy recording