Assignment4 of csse7231