fixed method 2 (demo2.py) ... not sure if the score calculatoin is correct.