6pm version

2-dimensional array version