Completed 1/24/2014 (Proj1b.java)