Code for CIRC 05
Also updated ex 5 - still needs extending the code section to be written