Created Fig 6.22

Practice creating and calling functions that deals with multi-d arrays.