Implemented terrain into Main.java, other minor edits to Main.java