Prime number calculation added (Not the best method)