Logic and Epistemology Depicted in Nyaya Philosophy