epicodus assignment using postgreSQL