Modified note.py

1. note.py will write notes to separate files
2. Notes no longer have start and end points
3. Added read_data method
Modified note.py and test_note.py

1. Added tests for read_data method
2. Fixed some bugs in note.py