Paint program done in CS355. Final (parts 1, 2 and 3)