Asked user to write down lengths of polygon