first prime implementation

Signed-off-by: Beni Lev <beniloew@gmail.com>