Java implementation of the classic video game concept known as Snake