Added A prime Determining function