add

fun add(forwardId: Int, backwardId: Int, cost: Int)