added web.py

made a code.py server file and a test.py class file to test this