Updated MusicRecommendation to run with Hashes

This should increase the efficiency as well as readability of the
program. Will rewrite the tests accordingly next.