fix bug for scan.py and implement g03 gjf file class