added comments
added comments and contains both basic and prime numbers code