Need help with adding nRFL01 communication to my code

If the tutorial you were following does not work, that would suggest something wrong with your modules or the way you have them wired.

Suggest you go back to the tutorial and prove your modules work, before adding other stuff to your code;