search working again, improved print_stars function based on Kens existing loop