graphics hw1, up to part 3