Now learning based off of the previous note too.
Now learning off of an adjustable number of notes
Take in parameters and return composition to the template.