Added Snake Draft code and rectangularize code