initialize in function

put the initialize function together to set the solution to stars
added guess function