Programming assignment for week 2 working on Intellij Idea (Android Studio)