Creating initial solution structure.