Coding Bat Solutions Using While Loops