A clone of the "2048" brain game I have to do in java for university