Initial commit of code
Value is now calculated for selected tiles.