everything works
time to add junit and javadocs and teacher algortihm