Use Data.Vector for O(1) indexing.

Signed-off-by: Ricky Elrod <ricky@elrod.me>