Add debug option
Break statement implemented in while loops