This is the assignment 1 for Android class. This implements the use cases as described.