One of the first JAVA programs I made, NIM