added some basic methods in Gamefield and Snake classes.