building a classic Snake game using Python and Pygame. ive left comment explaining what each code does