first part of hw5
perspective lab