Added split

Splits input into array