A comparative and critical study of John Lockes causal theory of perception and A J Ayers phenomenalism