Implementation of 2048 in Java, With best move suggestion, API