adding assignment 3 android code