Working algorithm on directors covering genres