add python solutions to assignment3