code still bugged but good progress on the assigning the cuts