Project in python 3.4 and Java 7 to calculate 2 ^ any number.