add two dimension code test 1