Grid class updated with ArrayList container

Bug fixed into getNoteAtUpperInterval method
Test written in main function