created a cursor adapter for db that displays the questions