finished cs440 rl assignment