Snake bug is fixed. Now dynamically pulling the head off of the array