completed primary assignment, maybe made working SQL for completed_polls
finished testing and cleanup for completed polls sql query