Added explosion functionality

Function should be complete.