Better code reuse

public static method for RandomArt to get the next function object