Final code for programming assignment 2.

Added a message to notify when a new inverse is being calculated.