three methods completed - square, str - bool check, and prime number check