First attempt at passing 2d array