finished 2/4 sets of tests
adjustments
implemented different algorithm
fixed tests up to set 3
fixed adjusted algorithm, passes test sets 1-3