A software engineer spent six years and roughly $590,000 to create a single-story home on the side of a mountain south of Tokyo.