recursive double working but usees concatenate instead of cons, easy fix
double-iterative working correctly