add Perfect Sqaures functionality and return to menu
add Perfect Sqaures functionality and return to menu