To connect railway sleepers together you can use metal plates and corner braces on the inside of the build.