explaining test
corrected code
restructured code and added a test for the numberedports.py example