completed assignment v1

completed functions for cache matrix assignment