Got while loops and comparisons working