Modified the key in placement_tracker to be a tuple instead of a string
Resolved typos and removed unused variable