Removed prints from checktype

Used prints for debugging variable scope declaration