EWU CS 470 Graphics code