Assignment 1 for CodePath Android class