Gem-ified the repo.
Added more realistic example, showing how to predict the next pitch in a melody.