-Wrote functions for perimeter and area