added the number of corners method to the polygon class - passing the tests