Created solution for PE problem no. 4
Created solutions for problems 5, 6 and 7.