Implementation of High Dynamic Range Exposure Algorithm for Digital Camera