fixed the gradeIt function and wrote tests
failed fix of app.coffee
fix of app.coffee