add negabinary number construction and hackerearth solutions