Added Memoize annotation to be used to annotate method for which
invocations are to be memoized.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>