Implemented further solutions and helper methods