adding a matrix solution for 3x3 Pebble Game