Funcion now splits input into lits of size two