Modified assignStmtCodeGen

Added check for a sliceExpr on the RHS. Generate specialised code if there is.