moving the sequtil apply functions to test_sequtils
new condense_assignment apply function
adding write pickle function