finished rough draft of decodemarc8.py