Added method & Fix bugs

*added random puzzle