moving serial implementation in subfolder
Adding simple test cases for serial impl