* change recursive fn calls to reduce write operations * format files and test * Update vtest-cleancode.v * fix test