solve first and fourth problems

*still littered with comments and pseudo-pseudo code. Bed time, more in morning
Change normalize method, call normalize on problem 4
Solve problem 2 with array.uniq
minor changes, not yet done