A chess game made from scratch in Java