ILIGRA: An Efficient Inverse Line Graph Algorithm