Task 1 & Task 2

Task 1 complete.
Task 2 working but some tests not matching given examples (still need to
do the Ties)