added ProgLab05.txt function file and fixed some formatting