completed first section
perfectInt solved