PHP and Javascript solutions to moderate challenges #117 - A Pile of Bricks, #146 - Bats Challenge, and #150 - Roman and Arabic