My first Java code, functional but full of redundancies and syntax mistakes