Added ability for a melody to be created from a text file