Completed q01 for practical02