added -1 to eq as it is 0 indexed line: 162

this was caused by a 1,2,3 indexed rooms rather than 0,1,2,3 as expected