added grid layout to activity_main.xml