Merge pull request #10 from danlamb/jordan_dash

Jordan dash
fixed database on rakefile and added date sort
fixed logic errors in the sort
fixing logic errors
minor fix to env
Fixed take_an_Exam by bringing back code from the dead neil deleted during his refactoring. Need to refactor this later to match his new paradigm..