Removed warnings (-Wall option), changed method of creating temporary files (mainly in Judge_machine) and added checking programs to judging