added initial core lib

Added Prime number generation, Divisor calculation based on prime
numbers