change most unit tests to return boolean as per the comments from assignment 3. I disagree with this so only changed the easiest without much change to code
implement feedback from assignment 2
imlemented sort direction with less duplicate code