Create halfadder.cpp