Start debugging

Has finished the general part of the program, start to debugging.