Parser Done,Algorithm done,output almost finished