adding functions to render a square. modified drawscene() to allow for an additional switch statement.