Added CustImage class to shapes.py and used it in game.py