monopoly sudo code