added basic snake state and function to face food