Added simple snake object functionality