Finished assignment 2 for serie 3