Fix some bug and made the program compilable