Solution to easy bit position task