added spiral prime algorithm