Removed all of the create_function() calls and replaced them with lambda...

... functions.

Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>