Finished exercies in section 5.6