adds ability to handle paralell notes
adds rests and noteToMidi converter