Function that calls the constructString and binarytodecimal and returns the answer
static int findNumber ( int n ) { String s = constructString ( n - 1 ) ; int num = binaryToDecimal ( s ) ; return num ; }