created a generic way of spawning enemies with desired patterns based on lanes