New function in model.js and additional feedback for students in graph window