fixed problems setup
changed assignments/detail so that only students problems that they completed show up
changed assignmets/grade to use scores
re-created problem function split
fixed error from not resetting a variable
made getassignment use scores not db.code