Learnt 2d arrays passing and parsing