Problem 1 : Table Lookup Functions