Added method to retrieve list of all category names. Passed its test.
then implemented into the rest of the code so categories displayed are
no longer hard coded but retrieved from database