implemented vertical_split (tested)and Horizontal_split (untested, due to no test image) cases
implemented vertical_split (tested)and Horizontal_split (untested, due to no test image) cases + typo correction