fastcore (edited version) + testfunction added

Required changes done.