final version of asg1

- updated and fixed the bugs in asg1.
- only for WIN32