Original game of Dominoes implemented in JAVA