Adding johnson's algorithm documentation