Added simple fitness function.