created CustomAdapter.java to work in conjuction with rowlayout.xml