Postgres Array Comparison Python Compiler With Pygame