add solution to lab04 - pi