Rough commit of prime gen
Signed-off-by: Spencer Deinum <spencerdeinum@gmail.com>