change the routing table to be an array list

much faster access

also changed the locking mechanism on the LSA table, as writing to an
element of an array doesnt have thread contention.