creating solve.py