adding home work part2 to respository
my first approach can only handle 2^3 and lower not higer
This completed assign. However, I plan to improve it