create solutions array using [] instead of new Array()
update
update