Refactor for statement in parsing csv
Add error-handling code in moveCell function