Pin class created. Pin can be upright or knocked down