Function to calculate count of ' N ' digit numbers such that bitwise AND of adjacent digits is 0.
def countOfNumbers ( digit , prev , n ) : NEW_LINE INDENT global val NEW_LINE global dp NEW_LINE DEDENT