wrote more programs + fixed bug in MNACHT