Programs I have written in Java for school