Fixed Mutation function.

Mutation function needed to swap a single number instead of generate a
new random number.  Also added a function to detect a solution was
found.