classical Snake Game written in Java