Create weightedscore.py