Assignment3 of csse7231