Was using a dictionary to store coordinates until I realized that keys have to be different. Switched to appending a list with 'row:move' and splitting on the : when the values are needed.