added frustum code

used to get answer 1 on asgn 3