Move functions to JLib

moved isInTable() and findMid() functions into JLib
Updated JLib

updated JLib.lua file
Basics working

all basics seem to be working