This is my self built factorising program although it is not totally perfect yet as it returns -ve awnswers.