Data Structures Implementation In Python Code For Snake