Programs from my 2nd programming class in Java