Various code I come up with while I self-learn java