Accumulations upwards and leftwards added. Rights and bottoms defined.
There is something funky going on with cols and rows (eg: getting Singleton (Beside x y) and so on.
Maybe unimportant for the hand-in, but just thought I would note it.