a simple snake game we did for the javascript part II teamwork