random solution generation integrated with gui