-Rewrote problem 10
-Added methods commonly used in problems