Added framework with our code

it contains our code with commented logic for initial forward or
backward branch check.