Initial coordinates for food and snake positions are calculated.
Add snake and food by means of raphael.
A base class is added for Snake and Food to store the common functionality.