basic implementation of code challenge, with use of Prime module instead of custom method