solves problem set 6 (114.908447 ms)
add analytics to problem set 6