Practice Exercises relating to using postgresql and psycopg2 python module