solution to problem 3
solution to problem 15
solution to problem 22 (file path hardcoded)
add data file; make solution 22 independent of directory